package iet.jxufe.cn.android.productanti_counterfeitingtraceabilitysystem;

import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import iet.jxufe.cn.android.productanti_counterfeitingtraceabilitysystem.entity.Product;
import iet.jxufe.cn.android.productanti_counterfeitingtraceabilitysystem.utils.ProductUtils;

@RunWith(JUnit4.class)
public class ImportFileTest {
    @Test
    public void testText() {
//        List<Product> products = new ArrayList<>();
//        try {
////            int result = ProductUtils.importFromTextFile(products);
////            Assert.assertNotNull(products);
////            Assert.assertEquals(2, products.size());
////            Assert.assertEquals(1, result);
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
    }
}
